package com.njust.RateMyTray_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njust.RateMyTray_backend.dto.WindowQueryDTO;
import com.njust.RateMyTray_backend.entity.Window;
import com.njust.RateMyTray_backend.vo.WindowDetailVO;
import com.njust.RateMyTray_backend.vo.WindowListVO;
import com.njust.RateMyTray_backend.dto.MerchantWindowUpdateDTO;

public interface WindowService extends IService<Window> {
    WindowListVO getWindowList(WindowQueryDTO queryDTO);

    WindowDetailVO getWindowDetails(Long windowId);

    void updateWindowByMerchant(Long windowId, Long merchantUserId, MerchantWindowUpdateDTO updateDTO);
    
    WindowDetailVO getMerchantFirstWindow(Long merchantId);
} 